package com.sh.weblogspringboot.common.config;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author songHai
 * @Classname InsertBatchMapper
 * @Description
 * @Date 2025/4/8 23:41
 */
public interface InsertBatchMapper<T> extends BaseMapper<T> {

    /**
     * 批量插入(非伪批量).
     *
     * @param list
     * @return
     */
    int insertBatchSomeColumn(@Param("list") List<T> list);
}
